<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
    <div th:fragment="addFrag">
            <form id="addForm" method="post" class="easyui-form">
                <table cellpadding="5" align="center">
                    <tr>
                        <td>登录帐号:</td>
                        <td><input class="easyui-validatebox" type="text" name="loginName" data-options="required:true,validType:'maxLength[20]'"/></td>
                    </tr>
                    <tr>
                        <td>真实姓名:</td>
                        <td><input class="easyui-validatebox" type="text" name="realName" data-options="required:true,validType:'maxLength[20]'"/></td>
                    </tr>
                    <tr>
                        <td>手机号:</td>
                        <td><input class="easyui-validatebox" type="text" name="phone" data-options="required:true,validType:'mobile'"/></td>
                    </tr>
                    <tr>
                        <td>Email:</td>
                        <td><input class="easyui-validatebox" type="text" name="email" data-options="required:true,validType:'email'"/></td>
                    </tr>
                    <tr>
                        <td>状态:</td>
                        <td>
                            <select class="easyui-combobox" name="state" style="width:80px" data-options="panelHeight:'auto'">
                                <option value="0">锁定</option>
                                <option value="1" selected="selected">启用</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </form>
    </div>
</body>
</html>